/*
 * Copyright (c) 2010 - 2011, Brookhaven National Laboratory
 * All rights reserved.
 * The software in this package is published under the terms
 * of the BSD license a copy of which has been included with
 * this distribution in the license.txt file.
 */


package org.oxtypes.impl;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.List;

import org.omg.dds.type.typeobject.Member;
import org.omg.dds.type.dynamic.DynamicType;
import org.omg.dds.type.dynamic.MemberDescriptor;

import org.oxtypes.DynamicData;

/**
 *
 */
public abstract class AbstractDynamicData extends DDSObjectImpl implements DynamicData {

    public abstract DynamicType getType();

    public int getLength(){
        return 0;
    }

    public void setLength(int length){
    }

    public List<MemberDescriptor> getDescriptors(){
        throw new java.lang.UnsupportedOperationException();
    }

    public int getMemberIdByName(String name){
        return Member.MEMBER_ID_INVALID;
    }

    /** Unsupported */
    public int getMemberIdAtIndex(int index){
        throw new java.lang.UnsupportedOperationException();
    }

    public void clearAllValues(){
        throw new java.lang.UnsupportedOperationException();
    }

    public void clearNonkeyValues(){
        throw new java.lang.UnsupportedOperationException();
    }

    public void clearValue(int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData loanValue(int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public void returnLoanedValue(org.omg.dds.type.dynamic.DynamicData value){
        throw new java.lang.UnsupportedOperationException();
    }

    public int getInt32Value(int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setInt32Value(int id, int value){
        throw new java.lang.UnsupportedOperationException();
    }

    public short getInt16Value(int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setInt16Value(int id, short value){
        throw new java.lang.UnsupportedOperationException();
    }

    public long getInt64Value(int id){
        throw new java.lang.UnsupportedOperationException();
    }
 
    public DynamicData setInt64Value(int id, long value){
        throw new java.lang.UnsupportedOperationException();
    }

    public BigInteger getBigIntegerValue(int id){
        throw new java.lang.UnsupportedOperationException();
    }
 
    public DynamicData setBigIntegerValue(int id, BigInteger value){
        throw new java.lang.UnsupportedOperationException();
    }

    public float getFloat32Value(int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setFloat32Value(int id, float value){
        throw new java.lang.UnsupportedOperationException();
    }

    public double getFloat64Value(int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setFloat64Value(int id, double value){
        throw new java.lang.UnsupportedOperationException();
    }

    public BigDecimal getBigDecimalValue(int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setBigDecimalValue(int id, BigDecimal value){
        throw new java.lang.UnsupportedOperationException();
    }

    public char getCharValue(int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setCharValue(int id, char value){
        throw new java.lang.UnsupportedOperationException();
    }

    public byte getByteValue(int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setByteValue(int id, byte value){
        throw new java.lang.UnsupportedOperationException();
    }

    public boolean getBooleanValue(int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setBooleanValue(int id, boolean value){
        throw new java.lang.UnsupportedOperationException();
    }

    public String getStringValue(int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setStringValue(int id, CharSequence value){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData getComplexValue(int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData getComplexValue(org.omg.dds.type.dynamic.DynamicData value,
            int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setComplexValue(int id, 
            org.omg.dds.type.dynamic.DynamicData value){
        throw new java.lang.UnsupportedOperationException();
    }

    public int getInt32Values(
            int[] value, int offset, int length, int id){
        throw new java.lang.UnsupportedOperationException();
    }
 
    public DynamicData setInt32Values(
            int id, int[] value, int offset, int length){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setInt32Values(int id, int... value){
        throw new java.lang.UnsupportedOperationException();
    }

    public int getInt16Values(
            short[] value, int offset, int length, int id){
        throw new java.lang.UnsupportedOperationException();
    }
 
    public DynamicData setInt16Values(
            int id, short[] value, int offset, int length){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setInt16Values(int id, short... value){
        throw new java.lang.UnsupportedOperationException();
    }

    public int getInt64Values(
            long[] value, int offset, int length, int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setInt64Values(
            int id, long[] value, int offset, int length){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setInt64Values(int id, long... value){
        throw new java.lang.UnsupportedOperationException();
    }

    public int getBigIntegerValues(
            BigInteger[] value, int offset, int length, int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public List<BigInteger> getBigIntegerValues(
            List<BigInteger> value, int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setBigIntegerValues(
            int id, BigInteger[] value, int offset, int length){
        throw new java.lang.UnsupportedOperationException();
    }
 
    public DynamicData setBigIntegerValues(int id, List<BigInteger> value){
        throw new java.lang.UnsupportedOperationException();
    }

    public int getFloat32Values(
            float[] value, int offset, int length, int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setFloat32Values(
            int id, float[] value, int offset, int length){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setFloat32Values(int id, float... value){
        throw new java.lang.UnsupportedOperationException();
    }

    public int getFloat64Values(
            double[] value, int offset, int length, int id){
        throw new java.lang.UnsupportedOperationException();
    }
 
    public DynamicData setFloat64Values(
            int id, double[] value, int offset, int length){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setFloat64Values(int id, double... value){
        throw new java.lang.UnsupportedOperationException();
    }

    public int getBigDecimalValues(
            BigDecimal[] value, int offset, int length, int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public List<BigDecimal> getBigDecimalValues(
            List<BigDecimal> value, int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setBigDecimalValues(
            int id, BigDecimal[] value, int offset, int length){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setBigDecimalValues(int id, List<BigDecimal> value){
        throw new java.lang.UnsupportedOperationException();
    }

    public int getCharValues(
            char[] value, int offset, int length, int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public StringBuilder getCharValues(StringBuilder value, int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setCharValues(
            int id, char[] value, int offset, int length){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setCharValues(int id, char... value){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setCharValues(int id, CharSequence value){
        throw new java.lang.UnsupportedOperationException();
    }

    public int getByteValues(
            byte[] value, int offset, int length, int id){
        throw new java.lang.UnsupportedOperationException();
    }
 
    public DynamicData setByteValues(
            int id, byte[] value, int offset, int length){
        throw new java.lang.UnsupportedOperationException();
    }

    public int getBooleanValues(
            boolean[] value, int offset, int length, int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public void getBooleanValues(List<Boolean> value, int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setBooleanValues(
            int id, boolean[] value, int offset, int length){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setBooleanValues(int id, boolean... value){
        throw new java.lang.UnsupportedOperationException();
    }

    public int getStringValues(
            String[] value, int offset, int length, int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public void getStringValues(List<String> value, int id){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setStringValues(
            int id, String[] value, int offset, int length){
        throw new java.lang.UnsupportedOperationException();
    }
 
    public DynamicData setStringValues(int id, String... value){
        throw new java.lang.UnsupportedOperationException();
    }

    public DynamicData setStringValues(int id, List<String> value){
       throw new java.lang.UnsupportedOperationException();
    }


    public DynamicData clone(){
        throw new java.lang.UnsupportedOperationException();
    }
}
